#ifndef GAMESTATE_H
#define GAMESTATE_H
#include "EventHandler.h"
#include "Timer.h"

class GameState : public EventHandler
{
public:
	virtual ~GameState() = 0 {}
	virtual void Update() = 0;
	virtual void Draw() = 0;
	virtual bool Load()
	{
		return true; 
	}
	// Allow a momentary pause within the game
	virtual void Delay(int delay)
	{
		SDL_Delay(delay);
		TheTimer::Instance()->Update();
	}

};

#endif

